package com.evony.common.beans 
{
    import flash.events.*;
    import mx.events.*;
    
    public class SimpleNpcHeroBean extends Object
    {
        public function SimpleNpcHeroBean(arg1:Object=null)
        {
            super();
            var loc1:*=0;
            _bindingEventDispatcher = new flash.events.EventDispatcher(flash.events.IEventDispatcher(this));
            if (arg1 != null) 
            {
                if (arg1.logourl != null) 
                {
                    this.logourl = arg1.logourl;
                }
                if (arg1.name != null) 
                {
                    this.name = arg1.name;
                }
                if (arg1.npcid != null) 
                {
                    this.npcid = arg1.npcid;
                }
                if (arg1.introduce != null) 
                {
                    this.introduce = arg1.introduce;
                }
                if (arg1.introduce2 != null) 
                {
                    this.introduce2 = arg1.introduce2;
                }
            }
            return;
        }

        public function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="";
            loc2 = loc2 + (arg1 + "logourl = " + this.logourl + "\n");
            loc2 = loc2 + (arg1 + "name = " + this.name + "\n");
            loc2 = loc2 + (arg1 + "npcid = " + this.npcid + "\n");
            loc2 = loc2 + (arg1 + "introduce = " + this.introduce + "\n");
            loc2 = loc2 + (arg1 + "introduce2 = " + this.introduce2 + "\n");
            return loc2;
        }

        public function copyTo(arg1:com.evony.common.beans.SimpleNpcHeroBean):void
        {
            arg1.logourl = this.logourl;
            arg1.name = this.name;
            arg1.npcid = this.npcid;
            arg1.introduce = this.introduce;
            arg1.introduce2 = this.introduce2;
            return;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.logourl = this.logourl;
            loc1.name = this.name;
            loc1.npcid = this.npcid;
            loc1.introduce = this.introduce;
            loc1.introduce2 = this.introduce2;
            return loc1;
        }

        [Bindable]
        public var npcid:int;

        [Bindable]
        public var introduce:String;

        [Bindable]
        public var name:String;

        [Bindable]
        public var logourl:String;

        [Bindable]
        public var introduce2:String;
    }
}
